home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
mapl0301.zip
/
VU_FILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-01
|
985b
|
52 lines
Rem Parameters passed from RBBS
Rem Create a file Called NOVIEW.? (? = Node number) if you do NOT wish to
Rem allow viewing of a certain file extension or do NOT support it
Rem this file is created in the subdir were Command.Com can be located
Rem %1 = complete Drive/subdir/filename to view
Rem %2 = name of ArcWorkFile (ARCWORK?.DEF)
Rem %3 = Comport in use
Rem %4 = Extension to View
Rem %5 = NodeId
@Echo OFF
IF %4 == ZIP GOTO ZIP
If %4 == ARJ GOTO ARJ
IF %4 == ARC GOTO ARC
IF %4 == PAK GOTO PAK
IF %4 == ZOO GOTO ZOO
IF %4 == LZH GOTO LZH
rem Create the NoView file incase we missed something up above
echo ...>C:\NOVIEW.%5
GOTO EXIT
:ZIP
FV138 %1 /b /c > %2
GOTO EXIT
:ARJ
REM use ARJ if you do NOT have AV available for older version of ARJ
AV %1 > %2
GOTO EXIT
:ARC
arcview %1 > %2
GOTO EXIT
:PAK
echo ... >C:\NOVIEW.%5
GOTO EXIT
:ZOO
arcview %1 > %2
GOTO EXIT
:LZH
FV138 %1 /b /c > %2
GOTO EXIT
:EXIT
Echo On